package com.cp.weixinlogin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author feipeng
 * @site www.gcp168.cn
 * @create 2020-08-14 15:54
 */
@Controller
public class IndexController {
    @RequestMapping("/")
    public ModelAndView root(){
        ModelAndView mav = new ModelAndView();
        mav.setViewName("index");
        mav.addObject("title","扫码登录测试");
        return mav;
    }
}
